﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ServiceController
{
    public delegate void  ServiceControllerEventHandler(object sender,ServiceControllerEventArgs e); 
    //public delegate void 
    public class ServiceControllerEventArgs
    {
        public List<Entities.HostedService> ListHostService
        {
            get;
            set;
        }
        public Entities.HostedServiceProperty HostServiceProperty
        {
            get;
            set;
        }
        public Exception error
        {
            get;
            set;
        }
        //public List<Entities.Storage_Account.StorageAccount> StorageAccountList
        //{
        //    get;
        //    set;
        //}
        //public Entities.Storage_Account.StorageAccountProperty StorageAccountProperty
        //{
        //    get;
        //    set;
        //}

        public Entities.DeploymentProperty DeploymentProperty
        {
            get;
            set;
        }
        public bool IsConfigFileUpdateSuccessful
        {
            get;
            set;
        }
        public bool IsUpdateStatusSuccessful
        {
            get;
            set;
        }
        public bool IsDeleteSuccessful
        {
            get;
            set;
        }
        public bool IsUpgradeSuccessful
        {
            get;
            set;
        }
        public bool IsSwapSuccessful
        {
            get;
            set;
        }
        public bool IsCreateSuccessful
        {
            get;
            set;
        }

        public object UserState { get; set; }

        public bool IsOperationSuccessful { get; set; }

        public string RequestID { get; set; }

        public Entities.OperationStatus OperationStatus { get; set; }
    }
}
